package com.qianchang.microfinance.utils;

import android.content.Context;

import com.qianchang.microfinance.R;

/**
 * Created by jinbailiang on 2017/8/29.
 */

public class RepayModeUtil {
    public static String getRepayMode(String repaymentTypeId, Context context) {
        switch (repaymentTypeId) {
            case "0":
                return context.getString(R.string.Repay_type_once);//这有这个状态是  日  productConfigBean.getDeadlineDayList  其他三个都是月  getDeadlineMonthList
            case "1":
                return context.getString(R.string.Repay_type_debx);//
            case "2":
                return context.getString(R.string.Repay_type_debj);//
            case "3":
                return context.getString(R.string.Repay_type_dqhb);////"每月付息，到期还本"));
            default:
                return "";//
        }

    }

}
